package com.nhjf.client.request;

import com.nhjf.client.response.OpenResponse;;

/**
 * api请求的基类
 * 
 * @author yuxx
 * 
 */
public abstract class OpenRequest {
	/**
	 * 客户端凭证
	 */
	private String clientKey;
	/**
	 * 标识串
	 */
	private String sign;
	/**
	 * 发送请求的时间戳
	 */
	private Long timestamp;

	public Class<?> getResponseClazz() {
		return OpenResponse.class;
	}
	
	public abstract String getServiceUri();

	public String getClientKey() {
		return clientKey;
	}

	public void setClientKey(String clientKey) {
		this.clientKey = clientKey;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}

}
